package org.mall.litemall.wx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableCaching      //redis开启注解
@EnableScheduling
@MapperScan("org.mall.litemall.db.dao")
@EnableTransactionManagement(proxyTargetClass = true)
@SpringBootApplication(scanBasePackages = {"org.mall.litemall"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}